/**
 * 
 */
function indexPage(){
	document.getElementById("button1").setAttribute("disabled", "disabled");
	document.getElementById("button2").setAttribute("disabled", "disabled");
	document.getElementById("button3").setAttribute("disabled", "disabled");
	document.getElementById("button4").setAttribute("disabled", "disabled");
	document.getElementById("button5").setAttribute("disabled", "disabled");
	document.getElementById("button6").setAttribute("disabled", "disabled");
	document.getElementById("Cancel").setAttribute("disabled", "disabled");
	document.getElementById("OK").setAttribute("disabled", "disabled");
	document.getElementById("1").setAttribute("disabled", "disabled");
	document.getElementById("2").setAttribute("disabled", "disabled");
	document.getElementById("3").setAttribute("disabled", "disabled");
	document.getElementById("4").setAttribute("disabled", "disabled");
	document.getElementById("5").setAttribute("disabled", "disabled");
	document.getElementById("6").setAttribute("disabled", "disabled");
	document.getElementById("7").setAttribute("disabled", "disabled");
	document.getElementById("8").setAttribute("disabled", "disabled");
	document.getElementById("9").setAttribute("disabled", "disabled");
	document.getElementById("0").setAttribute("disabled", "disabled");
	document.getElementById("dot").setAttribute("disabled", "disabled");
	document.getElementById("Clear").setAttribute("disabled", "disabled");
}
function insertPINPage(){
	document.getElementById("button1").setAttribute("disabled", "disabled");
	document.getElementById("button2").setAttribute("disabled", "disabled");
	document.getElementById("button3").setAttribute("disabled", "disabled");
	document.getElementById("button4").setAttribute("disabled", "disabled");
}
function numpadInsert1(){
	document.getElementById("textBox").value = document.getElementById("textBox").value + "1"; 
}
function numpadInsert2(){
	document.getElementById("textBox").value = document.getElementById("textBox").value + "2"; 
}
function numpadInsert3(){
	document.getElementById("textBox").value = document.getElementById("textBox").value + "3"; 
}
function numpadInsert4(){
	document.getElementById("textBox").value = document.getElementById("textBox").value + "4"; 
}
function numpadInsert5(){
	document.getElementById("textBox").value = document.getElementById("textBox").value + "5"; 
}
function numpadInsert6(){
	document.getElementById("textBox").value = document.getElementById("textBox").value + "6"; 
}
function numpadInsert7(){
	document.getElementById("textBox").value = document.getElementById("textBox").value + "7"; 
}
function numpadInsert8(){
	document.getElementById("textBox").value = document.getElementById("textBox").value + "8"; 
}
function numpadInsert9(){
	document.getElementById("textBox").value = document.getElementById("textBox").value + "9"; 
}
function numpadInsert0(){
	document.getElementById("textBox").value = document.getElementById("textBox").value + "0"; 
}
function numpadInsertDot(){
	document.getElementById("textBox").value = document.getElementById("textBox").value + "."; 
}
function mainPage(){
	document.getElementById("Cancel").setAttribute("disabled", "disabled");
	document.getElementById("OK").setAttribute("disabled", "disabled");
	document.getElementById("1").setAttribute("disabled", "disabled");
	document.getElementById("2").setAttribute("disabled", "disabled");
	document.getElementById("3").setAttribute("disabled", "disabled");
	document.getElementById("4").setAttribute("disabled", "disabled");
	document.getElementById("5").setAttribute("disabled", "disabled");
	document.getElementById("6").setAttribute("disabled", "disabled");
	document.getElementById("7").setAttribute("disabled", "disabled");
	document.getElementById("8").setAttribute("disabled", "disabled");
	document.getElementById("9").setAttribute("disabled", "disabled");
	document.getElementById("0").setAttribute("disabled", "disabled");
	document.getElementById("dot").setAttribute("disabled", "disabled");
	document.getElementById("Clear").setAttribute("disabled", "disabled");
}

function disable6functionbutton(){
	document.getElementById("button1").setAttribute("disabled", "disabled");
	document.getElementById("button2").setAttribute("disabled", "disabled");
	document.getElementById("button3").setAttribute("disabled", "disabled");
	document.getElementById("button4").setAttribute("disabled", "disabled");
	document.getElementById("button5").setAttribute("disabled", "disabled");
	document.getElementById("button6").setAttribute("disabled", "disabled");
}
function viewHistory(){
	document.getElementById("button1").setAttribute("disabled", "disabled");
	document.getElementById("button2").setAttribute("disabled", "disabled");
	//document.getElementById("button3").setAttribute("disabled", "disabled");
	document.getElementById("button4").setAttribute("disabled", "disabled");
	document.getElementById("button5").setAttribute("disabled", "disabled");
	//document.getElementById("button6").setAttribute("disabled", "disabled");
}
